package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsOrderAccountDAO;
import top.zywork.dos.GoodsOrderAccountDO;
import top.zywork.dto.GoodsOrderAccountDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsOrderAccountService;

import javax.annotation.PostConstruct;

/**
 * GoodsOrderAccountServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-07-30<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Service(value = "goodsOrderAccountService")
public class GoodsOrderAccountServiceImpl extends AbstractBaseService implements GoodsOrderAccountService {

    private GoodsOrderAccountDAO goodsOrderAccountDAO;

    @Autowired
    public void setGoodsOrderAccountDAO(GoodsOrderAccountDAO goodsOrderAccountDAO) {
        super.setBaseDAO(goodsOrderAccountDAO);
        this.goodsOrderAccountDAO = goodsOrderAccountDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsOrderAccountDO.class, GoodsOrderAccountDTO.class);
    }
}
